#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H

#include "ElaWidget.h"
#include <QComboBox>
#include <QSpinBox>
#include <QLineEdit>

class SettingsDialog : public ElaWidget
{
    Q_OBJECT

  public:
    explicit SettingsDialog(QWidget* parent = nullptr);

    void setParentCenter();

  private Q_SLOTS:
    void saveSettings();
    void resetSettings();

  private:
    void setupUI();
    void loadSettings();

    QComboBox* m_themeCombo;
    QSpinBox* m_opacitySpin;
    QLineEdit* m_userNameEdit;
    QComboBox* m_languageCombo;
};

#endif  // SETTINGSDIALOG_H